<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>WebSocket客户端</title>
    <link rel="stylesheet" href="./ws-client.css">
</head>
<body>

<div id="app" class="app">

    <div class="talk-msg" id="talk"></div>
    <textarea id="content" rows="3"></textarea>
    <button id="send" onclick="sendMsg()">发送</button>
</div>

<script src="ws.js"></script>
<script src="ws-client.js"></script>

</body>
</html>